﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecoratorPattern.DemoTwo
{
    public class HighScoreDecorator : Decorator
    {
        public HighScoreDecorator(SchoolReport sr) : base(sr)
        {}

        private string reportHighScore()
        {
            return " top chi 90 top eng 98 " + Environment.NewLine;
        }

        public override string report()
        {
            return this.reportHighScore() + base.report();
        }
    }
}
